has method is more strict

not only the key must be a string but also the key must not be a numeric