get_possible_attributes() function - Includes type_of check
Merge pull request #294 from AvadootNachankar/mongokit

get_possible_attributes() function - Includes type_of check