def validate_numeric(input):  # test
    """Validates input to see if it's an int or integer numeric string

    Args:
        input: data corresponding to key in dictionary from POST request

    Returns:
        boolean: False if input cannot be cast as int
        int: value of input if castable as int
    """
    try:
        output = int(input)
    except ValueError:
        return False
    return output