def _verify(self, command):
matched = None
for pattern in GKEHandler.allowed_commands:
p = re.compile(pattern, re.IGNORECASE)
matched = p.match(command)
if matched:
return True
return False