Enmarcha.SharePoint.Entities.Artefacts.ListSharePoint.Exist C# (CSharp) Method

Exist() public method

This list exists or not?
public Exist ( ) : bool
return bool
        public bool Exist()
        {
            try
            {
                var list = Web.GetList(SPUrlUtility.CombineUrl(Web.Url, string.Concat("/lists/", Name)));
                return (list == null);            
            }
            catch (Exception exception)
            {
                Logger.Error(string.Concat("Lista SP", exception.Message));
                return false;
            }          
        }