Added isConnected function to ArraySource so it is compatible with CakePHP 2.5.2