def is_number(text):
    """
    Checking if the text is a number

    :param text: text we want to examine
    :type text: str
    :return: whether this is a number or not
    :rtype: bool
    """
    try:
        float(text.strip())
    except ValueError:
        return False

    return True