class SourceService implements ISourceService {

   @Override
   public boolean deleteSource(Source source)
   {
      int sourceId = source.getId();
      if (exits(sourceId))
      {
         getSourceManager().removeSource(sourceId);
         return getSource(sourceId) == null;
      }
      return false;
   }

}