Created private function to check conditions in accept of invitations controllers to reduce ABC size
Created private function to check conditions in accept of invitations controllers to reduce ABC size

expertiza/expertiza,michaelamoran/expertiza,KunmiaoYang/expertiza,KunmiaoYang/expertiza,mhhassan/expertiza,redsock88/expertiza,expertiza/expertiza,urmilparikh95/expertiza,ApertureScienceInnovators/expertiza,KunmiaoYang/expertiza,joshio1/expertiza,mhhassan/expertiza,urmilparikh95/expertiza,kira0992/expertiza,akshayjain114/expertiza,arpitashekhar/expertiza,akshayjain114/expertiza,redsock88/expertiza,rmmaily/expertiza,redsock88/expertiza,urmilparikh95/expertiza,akshayjain114/expertiza,ApertureScienceInnovators/expertiza,mhhassan/expertiza,joshio1/expertiza,mhhassan/expertiza,joshio1/expertiza,arpitashekhar/expertiza,michaelamoran/expertiza,ApertureScienceInnovators/expertiza,redsock88/expertiza,ApertureScienceInnovators/expertiza,kira0992/expertiza,expertiza/expertiza,kira0992/expertiza,rmmaily/expertiza,joshio1/expertiza,michaelamoran/expertiza,urmilparikh95/expertiza,arpitashekhar/expertiza,kira0992/expertiza,michaelamoran/expertiza,rmmaily/expertiza,arpitashekhar/expertiza,KunmiaoYang/expertiza,expertiza/expertiza,akshayjain114/expertiza,rmmaily/expertiza