* Rewrite check alias available logics.