add exception for wrong type in __contains__ method
fix wrong name for monotonic function
fix knp_find name
import resource module