This commmand returns the state of the named condition. If the condition is true, it returns 1. Otherwise it returns 0.
Derived from mel command maya.cmds.isTrue
Example:
import pymel.core as pm pm.isTrue( 'SomethingSelected' ) # Result: 0 #