removed overkill function isHash as suggested by @stloyd
removed overkill function isHash as suggested by @stloyd

composer/semver,legoktm/semver,JeroenDeDauw/semver,stof/semver,localheinz/semver,alcohol/semver