Does the medium of a work of art matter?

Does the medium of a work of art matter when evaluating its quality?