def is_number_regex(sn):
    """ Returns True if string is a number and False for other types. """
    if re.match("^\d+?\.\d+?$", sn) is None:  
         return sn.isdigit()
    else:
        return False
 Returns True if string is a number and False for other types. 
Solutions/ZoomReports/Data Connectors/ZoomSentinelConnector/__init__.py