@staticmethod
def is_number(s: str) ->bool:
    """
        Is this a string representation of an int or float?
        :param s: str
        :return: bool
        """
    try:
        int(s)
        return True
    except ValueError:
        try:
            float(s)
            return True
        except ValueError:
            return False
