from typing import Any, Dict def current_streams_are_not_zero(track_in_playlist_item: Dict[str, Any], current_streams_key: str): """Check if Track In Playlist item current_streams aren`t None or equals to zero Args: track_in_playlist_item: Track In Playlist current_streams_key: key to current streams value of a TIP item Returns: bool """ current_streams = track_in_playlist_item[current_streams_key] return not (current_streams is None or current_streams == 0)