Make ArraySource compatible with CakePHP2.5.2

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