def is_macosx_sdk_path(path):
 return ((path.startswith('/usr/') and (not path.startswith('/usr/local'))) or path.startswith('/System/') or path.startswith('/Library/'))

def is_macosx_sdk_path ( path ) : return ( ( path . startswith ( '/usr/' ) and ( not path . startswith ( '/usr/local' ) ) ) or path . startswith ( '/System/' ) or path . startswith ( '/Library/' ) )
returns true if path can be located in an osx sdk .