import re


def check_file_existence(pod_obj, file_name):
    """
    Check if file exists inside the pod

    Args:
        pod_obj (Pod): The object of the pod
        file_name (str): The name (full path) of the file to look for inside
            the pod

    Returns:
        bool: True if the file exist, False otherwise
    """
    ret = pod_obj.exec_cmd_on_pod(f"bash -c \"find {file_name}\"")
    if re.search(file_name, ret):
        return True
    return False