is

fun is(error: AmityError?): Boolean