I'd prefer to check for Hash like type instead of non-nil