Can mean a high degree of excellence (“a quality product”) or a degree of excellence or the lack of it (“work of average quality”).