def METHOD_NAME(mod):
    # Ensures that this actor only includes known modules
    assert mod.name in required_modules
    # Ensures that the path is valid
    assert mod.module_path
    assert mod.module_path == os.path.abspath(mod.module_path)
    # Ensure it's a directory
    assert os.path.isdir(mod.module_path)
    # Ensure it's located within the actors files path
    assert mod.module_path.startswith(path)
    # Ensure the directory name ends with the module name
    assert os.path.basename(mod.module_path).endswith(mod.name)
    assert not re.sub(r'^(85|90){}$'.format(mod.name), '', os.path.basename(mod.module_path))