Extract has_access_to_path? method