duty of competence — Legal Definition, Examples & Cases