Added the is_protein function