check if id is in contacts