code: def isnumber(self, string, *args):
          
          try:
              n, u = utility.analyze_number(string)
          except SyntaxError:
              return False
          return True
docs: Is number
          args:
              string (str): match
          returns:
              bool