Add method for module objects to check if a given URI matches