Could be shortened to just:
`return md5($password) === true;`