Black Ops III

ismissileinsideheightlock

Returns whether the entity is inside the height lock or not

Example:

if( self IsInsideHeightLock() ) { //do something }