docs: def get_networks(network_id=None):
      """Returns list of all networks that may be relevant on CVX"""
      session = db.get_reader_session()
      with session.begin():
          model = models_v2.Network
          networks = session.query(model).filter(model.project_id != '')
          if network_id:
              networks = networks.filter(model.id == network_id)
      return networks.all()