import re


def is_regex_match(regex_pattern, search_context):
    """
    Wrapper method to perform regex searches on a passed in regex pattern and a string

    If the search context matches the regex_pattern, returns True. Else false.
    """

    regex_search = re.compile(regex_pattern)
    if regex_search.match(search_context) is not None:
        return True
    return False