In-Memory OLTP is a memory-optimized database engine integrated into the SQL Server engine. The SERVERPROPERTY() built in metadata system function with IsXTPSupported Property can be used to identify whether Server supports In-Memory OLTP.
SELECT CASE SERVERPROPERTY('IsXTPSupported ')
WHEN 0 THEN 'Server does not supports In-Memory OLTP'
WHEN 1 THEN 'Server supports In-Memory OLTP'
END as [Is SQL Server supports In-Memory OLTP ?]