Rock.CheckIn.CheckInLocation.ContainsKey C# (CSharp) Method

ContainsKey() public method

Determines whether the specified key contains key.
public ContainsKey ( object key ) : bool
key object The key.
return bool
        public bool ContainsKey( object key )
        {
            var additionalKeys = new List<string> { "LastCheckIn", "Schedules" };
            if ( additionalKeys.Contains( key.ToStringSafe() ) )
            {
                return true;
            }
            else
            {
                return Location.ContainsKey( key );
            }
        }