/* ======================== */
/* List contains
/* ======================== */
@function contains($list, $item) {
  @if index($list, $item) {
    @return true;
  } @else {
    @return false;
  }
}

/* ======================== */
/* Range bounds - Pinched from Foundation
/* ======================== */
@function lower-bound($range) {
  @if length($range) <= 0 {
    @return 0;
  }
  @return nth($range, 1);
}

@function upper-bound($range) {
  @if length($range) < 2 {
    @return 999999999999;
  }
  @return nth($range, 2);
}
