Check that selector is defined
only generate change events for arrays and plain objects.