コーヒーマグであれば
kōhiimagudeareba

Noun
Da Copula

The "-eba" conditional form ("if/when…") of コーヒーマグ

1. If/when it's a coffee mug; Provided it's a coffee mug; Assuming it's a coffee mug

Ba Conditional