```python
def check_integer(text):
    """
    Checks if a string represents a valid integer.

    Args:
        text: The input to check.

    Returns:
        True if the input is a string that represents an integer, False otherwise.
    """
    if not isinstance(text, str):
        return False

    try:
        int(text)
        return True
    except ValueError:
        return False
```