protected function isCarbonInstance($columnValue)
    {
        return is_object($columnValue) &&
            (
                $columnValue instanceof \Carbon\Carbon ||
                $columnValue instanceof \Illuminate\Support\Carbon
            )
        ;
    }
protected function isCarbonInstance($columnValue)
    {
        return is_object($columnValue) &&
            (
                $columnValue instanceof \Carbon\Carbon ||
                $columnValue instanceof \Illuminate\Support\Carbon
            )
        ;
    }
protected function isCarbonInstance ( $ columnValue ) { return is_object ( $ columnValue ) && ( $ columnValue instanceof \ Carbon \ Carbon || $ columnValue instanceof \ Illuminate \ Support \ Carbon ) ; }
Decides whether provided column value is a carbon date instance.

@param mixed Column value

@return bool
Decides whether provided column value is a carbon date instance .