hasmapto should be used to check key-mapping instead of plug-mapping