Use has util method and use comparison opts

Minor changes.

Consistency in string comparison, now always in quotes.

Use `has` utility method to check for existence of hashing function.