Yes, a dentist can determine if patients need a filling replaced through a dental examination. During the examination, the dentist will visually inspect the filling and may also take dental X-rays to assess the condition of the filling and the underlying tooth structure.