Deductions & credits

I was on board with your reply until the last line "If your state allows the deduction".  Can you confirm if my state (Maine) allows this deduction?   Thanks for the information so far!