Functoriality Criterion for Defining a Functor