def isnumber(word):
    """ Checks if a string is a string of a number.

    Parameters
    ----------
    word : string
            String of the possible number.

    Returns
    -------
    Boolean.
    """
    try:
        float(word)
    except (ValueError, TypeError):
        return False
    return True