Functional for check: input expression corresponds to the 'prefixedName'