`bool, error` instead of `bool, bool` as return value to get rid of some duplication?