def is_in_project(self, uid, project_id):
        user, project = self._validate_user_and_project(uid, project_id)
        return user in project.members
Check if user is in project
dataset/ETHPy150Open nii-cloud/dodai-compute/nova/auth/dbdriver.py/DbDriver.is_in_project