Investors & landlords

the monthly rent is $3200. I received a first month's check from the tenant for $1280. The tenant wrote a check to the realtor for $1920 (5% commission for a year lease). can I still write off the $1920 commission even thought it was not paid directly from me but paid on my behalf by the tenant?