Corrected check if board defines the function.