Implementing `character?`.