import re


def find_pattern(s: str, pat: str):
    """Find a pattern in the given string and return a Boolean value."""
    # if isinstance(pat, str):
    r = re.compile(pattern=pat)
    if r.match(str(s)):
        return True
    else:
        return False