allowedInvitedMember
Method to get whether a member is invited, so allowed to join in a Project, with the current joining code
Return
whether the member has been invited as boolean
Parameters
email
: the email of the member check
role
: the role of the member to check