When does a given function in phase space belong to the class of Husimi distributions