Implements to check input data.