Cost validity check