def IsNone(value):
 return ((value is None) or (value == '') or (value.lower() == 'none'))

def IsNone ( value ) : return ( ( value is None ) or ( value == '' ) or ( value . lower ( ) == 'none' ) )
return true if either none .