made is_*-functions const