method to check if an user is assignable to a shift