Custody agreement

Hi,

I have a18 years old son who lives with his mother and she pays 100% of his living expenses since my child support obligation was done. Our custody agreement states that I can claim him as a dependent every odd year but she said that she can claim him as her dependent for 2019  based on the IRS guidelines.  Is she correct?  Please advise.

 

Thanks!