how to check functions in a given package