code: def find_attribute(
      *, entry: LeaderboardEntry, path: str
  ) -> Optional[AttributeWithProperties]:
      return next(
          (attr for attr in entry.attributes if attr.path == path), None
      )
  
file_path: neptune-client/src/neptune/api/searching_entries.py
imports: from typing import TYPE_CHECKING, Any, Dict, Generator, Iterable, List, Optional
  from bravado.client import construct_request
  from bravado.config import RequestConfig
  from neptune.internal.backends.api_model import AttributeType, AttributeWithProperties, LeaderboardEntry
  from neptune.internal.backends.hosted_client import DEFAULT_REQUEST_KWARGS
  from neptune.internal.backends.nql import NQLAggregator, NQLAttributeOperator, NQLAttributeType, NQLEmptyQuery, NQLQuery, NQLQueryAggregate, NQLQueryAttribute
  from neptune.internal.init.parameters import MAX_SERVER_OFFSET
label_desc: Use image node_id 3 for calling a global function with example usage: find_attribute() and returns: next