##### SUMMARY

Move the remaining files needed by `ansible-test` into the `test/lib/ansible_test/` directory. This is required to implement: https://github.com/ansible/ansible/issues/59884

##### ISSUE TYPE

Feature Idea

##### COMPONENT NAME

ansible-test

"""
    :rtype: bool
    """
    return os.environ.get('SHIPPABLE') == 'true'
def remove_file(path):
    """
    :type path: str
    """
    if os.path.isfile(path):
        os.remove(path)
def read_lines_without_comments(path, remove_blank_lines=False, optional=False):  
    """
    Returns lines from the specified text file with comments removed.
    Comments are any content from a hash symbol to the end of a line.
    Any spaces immediately before a comment are also removed.
    """
    if optional and not os.path.exists(path):
        return []
    with open(path, 'r') as path_fd:
        lines = path_fd.read().splitlines()
    lines = [re.sub(r' *#.*$', '', line) for line in lines]
    if remove_blank_lines:
        lines = [line for line in lines if line]
    return lines
def find_executable(executable, cwd=None, path=None, required=True):