Generic input checker
Utility function to handle namespaces. Used by get_item
and get_property
check_input(input, substitution)
input
: string to checksubstitution
: string for what's been looked forboolian indicating whether the checked string contains a match for the substitution string