fix: add belongsToActiveTeam (#7890)
* fix: add belongsToActiveTeam
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
* fix: create a common function
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
* fix: add suggestion
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
* chore: use deconstructing
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
* chore
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
---------
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>