def value(entry):
    """
    check if the string entry can

    Parameters
    ----------
    entry: str
        an entry of type str

    Returns
    -------
    bool
        True if the input can become an integer, False otherwise

    Notes
    -----
    returns 'type' for the entry 'type', although type is a code object

    """
    try:
        val = eval(entry)
        if isinstance(val, type):
            return entry
        else:
            return val
    except:
        return entry
