#NEWLINE# def isGeographic( s ) : #NEWLINE# #INDENT# arcpy = __import__ ( 'arcpy' ) #NEWLINE# sr = arcpy . SpatialReference ( ) #NEWLINE# sr . loadFromString ( ( str ( s ) if isinstance ( s , ( str , int , long ) ) else s . exportToString ( ) ) ) #NEWLINE# return bool ( ( ( sr . type == 'Geographic' ) and s . angularUnitName ) )