Converts a bool to an integer
Device + Agent
Integer — 1 for true or 0 for false
true
false
This method returns either 1 or 0 depending on whether the target bool is true or false.