import re


def is_integer(text):
    """
    Checks if the given text is an integer

    :param text: string to validate
    :return: True if the text is an integer, False otherwise
    """
    return re.match(r'^[\d]+$', text)