mtd: utilize `mtd_is_*()' functions