get_existing_fact_instances function

Get existing fact instances