bool isInbound()

Determine if a channel is inbound.

Source

bool isInbound() => fields['Call-Direction'] == 'inbound' ? true : false;